package com.storeroompda.utils;

import android.graphics.Color;

public class ColorUtil {


    private volatile static ColorUtil colorUtil ;

    public ColorUtil(){

    }

    public static ColorUtil getColorUtilInstance(){
        if (colorUtil == null) {
            synchronized (ColorUtil.class) {
                if (colorUtil == null) {
                    colorUtil = new ColorUtil();
                }
            }
        }
        return colorUtil;
    }


    public int getAlphaColor(float f){
        return Color.argb((int) (f*255),41,124,252);
    }




}
